package programmercarl.回溯.C8;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class Test {

    public static void main(String[] args) {

        List<String> list = new ArrayList<>();
        list.add("a");
        list.add("b");
        String s = list.toString();
        System.out.println(s);
        List<String> list1 = Arrays.asList(s.split(","));
        System.out.println(list1);
    }
}
